package com.clouddisk.system.mapper;

import com.clouddisk.common.core.domain.entity.CommonFile;
import com.clouddisk.common.core.mapper.BaseMapperPlus;
import com.clouddisk.system.domain.vo.CommonFileListVo;
import com.clouddisk.system.domain.vo.CommonFileUser;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface CommonFileMapper extends BaseMapperPlus<CommonFileMapper,CommonFile,CommonFile> {
    List<CommonFileUser> selectCommonFileUser(@Param("userId") Long userId);
    List<CommonFileListVo> selectCommonFileByUser(@Param("userId") Long userId, @Param("sessionUserId") Long sessionUserId);

}
